{% extends "base.html" %}

{% block title %}The Classical - Music Works{% endblock %}

{% block main_content %}
{% if works %}
    
    {% for work in works %}
    <div>{{ work.name }}</div>
    <ul>
        <li>
        	<a href="musician/{{ musician.key.name }}">
        		{{ musician.display_name }}
        	</a>
        </li>
    </ul>
    {% endfor %}
    
{% else %}
    <p>No music works are available.</p>
{% endif %}
{% endblock %}
